import Vue from 'vue'
import Router from 'vue-router'
import Hello from '../components/Hello'
import index from '../components/index'
import world from '../components/world'

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/Hello',
      name: 'Hello',
      component: Hello,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/world',
      name: 'world',
      component: world,
      meta:{
         keepAlive: false 
      } 
    }
  ]
})
